package phone;

public abstract class Phone {
	private String brand; // 品牌
	private String pid; // 型号
	
	public Phone(){
		
	}
	
	public Phone(String brand,String pid){
		this.brand = brand;
		this.pid = pid;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}
	
	// 发信息
	public void sendMassage(){
		System.out.println("发送文字信息......");
	}
	
	// 打电话
	public void Call(){
		System.out.println("开始语音通话......");
	}
	
	// 输出手机信息
	public abstract void printInfo();
}
